package com.pro.service;

import com.pro.pojo.JsUiserAuthority;

import java.util.List;

public interface JsUiserAuthorityService {
    //查询后台用户所拥有的权限
    List<JsUiserAuthority> getUserAuthority(Integer userId);

    //删除后台用户所拥有的权限
    boolean deleteUserAuthority(Integer userId);

    //添加后台用户权限
    boolean addUserAuthority(JsUiserAuthority jsUiserAuthority);
}
